/**
 * @file a.c
 * @author your name (you@domain.com)
 * @brief 
 * @version 0.1
 * @date 2021-11-26
 * 
 * @copyright Copyright (c) 2021
 * 
 * gcc -c a.c b.c -fno-stack-protector
 * 
 * ld  a.o b.o -e main -o ab
 * 
 * 
 */

extern int shared;

void swap(int* a, int* b);

int main()
{
    int a = 0;
    swap(&a, &shared);
    
}
